package com.lmm.service;

import com.lmm.beans.User;
import com.lmm.dao.IUserDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements IUserService{
   @Autowired
    IUserDao userDao;


    @Override
    public void addUser(User user) {
    System.out.println("service"+user);
    userDao.insertUser(user);

    }
}
